import 'package:school_assistant/generated/json/base/json_field.dart';
import 'package:school_assistant/generated/json/article_comment_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class ArticleCommentEntity {
	String? name;
	String? time;
	String? profile;
	String? content;

	ArticleCommentEntity();

	factory ArticleCommentEntity.fromJson(Map<String, dynamic> json) => $ArticleCommentEntityFromJson(json);

	Map<String, dynamic> toJson() => $ArticleCommentEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}